﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CaiyinSoft.NetGather.Protocol;

namespace CaiyinSoft.NetGather.NetGatherLib.URLSource
{
    public partial class TextURLSourceForm : InnerFormBase
    {
        public TextURLSourceForm()
        {
            InitializeComponent();
        }

        public TextURLSource _URLSource;
        public TextURLSource URLSource
        {
            get
            {
                if (_URLSource == null)
                {
                    return null;
                }
                else
                {
                    _URLSource.URLListText = URLListText;
                    return _URLSource;
                }
            }
            set
            {
                _URLSource = value;
                URLListText = value.URLListText;
            }
        }


        public string URLListText
        {
            get
            {
                return txtSource.Text;
            }
            set
            {
                txtSource.Text = value;
            }
        }

        private void TextURLSourceForm_Load(object sender, EventArgs e)
        {

        }
    }
}
